package com.hyhigh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

    @RequestMapping("loginUser")
    public String login() {
        return "redirect:index";
    }

    // 控制器帮我们转发到thymeleaf
    @RequestMapping("index")
    public String forwardToIndex(){
        return "index";
    }


}
